package com.danke.demo.player

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

/**
 * @author wpq
 * @version 1.0
 */
class ListPlayActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_list_play)

//        mRecyclerView.setRecyclerListener(object : RecyclerView.RecyclerListener() {
//            fun onViewRecycled(holder: ViewHolder) {
//                val niceVideoPlayer: NiceVideoPlayer = (holder as VideoViewHolder).mVideoPlayer
//                if (niceVideoPlayer === NiceVideoPlayerManager.instance().getCurrentNiceVideoPlayer()) {
//                    NiceVideoPlayerManager.instance().releaseNiceVideoPlayer()
//                }
//            }
//        })
    }
}